package com.lagou.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * @author zhouzijia
 * @version 1.0
 * @description
 * @date 2020/11/8 15:03
 */
public class User implements Serializable {

    private Integer id;

    private String userName;

    private List<Order> orders;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", orders=" + orders +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public List<Order> getOrders() {
        return orders;
    }

    public void setOrders(List<Order> orders) {
        this.orders = orders;
    }
}
